import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
// 引入重置样式
import 'normalize.css'
// 引入全局样式
import '@/assets/style/public.css'
// 引入字体图标
import '@/assets/style/iconfont/iconfont.css'

// 引入富文本插件
import VueQuillEditor from 'vue-quill-editor'
// 引入富文本编辑器样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import { result } from 'lodash'
// 挂载富文本编辑器
Vue.use(VueQuillEditor)

Vue.filter('fukuan',function(v){
   let  result;
   switch (v+''){
    case '0':
      result = '未付款'
      break
    case '1':
      result = '已付款'
      break
    default:
      result = '暂未分级'
    }

     
   return result;
   })

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
